package case1.core.observer;

/**
 * description:
 * 鸭子观察者类
 * @author Yuanml on 2020/11/1 09:31
 */
public interface Observer {
    /**
     * description:
     *
     * @param duck 被观察对象
     * @author Yuanml
     * @date 2020/11/1 上午9:32
     **/
    void update(QuackObservable duck);
}
